package com.ardf.mapper;

import com.ardf.entity.AthleteProject;
import com.ardf.entity.Project;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ShiYunHao
 * @since 2025-01-06
 */
public interface AthleteProjectMapper extends BaseMapper<AthleteProject> {
    /**
     * 帮助分页
     * 这样做可以避免分页数据的数目不对
     */
    List<Project> helpSearchAll(@Param("athleteId") Long athleteId);
}
